/* 导出面板样式 */
.export-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  width: 480px;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  animation: export-panel-fade-in 0.3s ease;
}

@keyframes export-panel-fade-in {
  from {
    opacity: 0;
    transform: translate(-50%, -48%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.export-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  background-color: #fafafa;
}

.export-panel-title {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #333;
}

.export-panel-close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  padding: 0;
  margin: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s, color 0.2s;
}

.export-panel-close:hover {
  color: #666;
  background-color: #f0f0f0;
}

.export-panel-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.export-panel-section {
  margin-bottom: 16px;
}

.export-panel-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.export-panel-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 0.2s;
}

.export-panel-input:focus {
  border-color: #1890ff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.export-panel-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.export-panel-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-right: 16px;
  margin-bottom: 8px;
}

.export-panel-option input[type="radio"] {
  margin-right: 8px;
}

.export-panel-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 8px;
}

.export-panel-checkbox input[type="checkbox"] {
  margin-right: 8px;
}

.export-panel-footer {
  padding: 16px 20px;
  border-top: 1px solid #f0f0f0;
  background-color: #fafafa;
}

.export-panel-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.export-panel-button {
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid #d9d9d9;
}

.export-panel-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cancel-button {
  background-color: #fff;
  color: #333;
}

.cancel-button:hover:not(:disabled) {
  background-color: #f5f5f5;
  border-color: #d9d9d9;
}

.export-button {
  background-color: #1890ff;
  color: #fff;
  border-color: #1890ff;
}

.export-button:hover:not(:disabled) {
  background-color: #40a9ff;
  border-color: #40a9ff;
}

.export-panel-message {
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
}

.export-panel-message.success {
  background-color: #f6ffed;
  border: 1px solid #b7eb8f;
  color: #52c41a;
}

.export-panel-message.error {
  background-color: #fff2f0;
  border: 1px solid #ffccc7;
  color: #ff4d4f;
}

/* 响应式样式调整 */
@media (max-width: 576px) {
  .export-panel {
    width: 95vw;
  }
  
  .export-panel-options {
    flex-direction: column;
    gap: 8px;
  }
  
  .export-panel-option {
    margin-right: 0;
  }
  
  .export-panel-actions {
    flex-direction: column-reverse;
    gap: 8px;
  }
  
  .export-panel-button {
    width: 100%;
  }
}

/* 遮罩层 */
.export-panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 999;
  animation: export-panel-overlay-fade-in 0.3s ease;
}

@keyframes export-panel-overlay-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
} 